package com.ujs.shc.dto;

import com.ujs.shc.pojo.CommentsWithUser;
import com.ujs.shc.pojo.GoodsExt2;
import com.ujs.shc.pojo.User;
import lombok.Data;

import java.util.List;

@Data
public class CommentsAndInfosDto {

    private GoodsExt2 goods;
    private List<CommentsWithUser> comments;
    private User userInfo;

    public GoodsExt2 getGoods() {
        return goods;
    }

    public void setGoods(GoodsExt2 goods) {

        this.goods = goods;
    }

    public List<CommentsWithUser> getComments() {
        return comments;
    }

    public void setComments(List<CommentsWithUser> comments) {
        this.comments = comments;
    }

    public User getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(User userInfo) {
        this.userInfo = userInfo;
    }
}
